package com.sugar.rpc.server.impl;

import com.sugar.rpc.common.annotation.RpcService;
import com.sugar.rpc.common.api.UserService;
import org.springframework.stereotype.Service;

// service/UserServiceImpl.java
@RpcService
@Service
public class UserServiceImpl implements UserService {
    public String findNameById(Long id) {
        return "NettyUser#" + id;
    }
}